Java EE 7 Handbook by Pilgrim Peter A

Java EE 7 Handbook by Pilgrim Peter A

Author:Pilgrim, Peter A.
Language: eng
Format: epub


@NotEmpty @Size(max = 64)

private String name;

@OneToMany(cascade = CascadeType.ALL, mappedBy = "project", fetch = FetchType.EAGER)

private List<Task> tasks = new ArrayList<>();

public Project() {/* Required for JPA */}

public Project(String name) {this.name = name;}

public Integer getId() {return id;}

public void setId(Integer id) {this.id = id;}

public String getName() {return name;}

public void setName(String name) {this.name = name;}

public List<Task> getTasks() {return tasks;}

public void setTasks(List<Task> tasks) {this.tasks = tasks;}



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.